package com.superarai.portal.util;

public class Assertion {
	
	public static <T> T notNull(T target) {
		return notNull(target, null);
	}
	
	public static <T> T notNull(T target, String message) {
		if(target == null) {
			throw new NullPointerException(message);
		}
		return target;
	}
}
